import { createApp } from 'vue'
import App from './App.vue'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

// 引入大仓库
import pinia from './store'

// 引入路由
import router from '@/router'

// 引入全部el-icon
import ELICON from '@/components/index'

import './permission' // permission control

const app = createApp(App)
app.use(pinia)
app.use(router)
app.use(ElementPlus)
app.use(ELICON)
app.mount('#app')
